package mybatis09.student.entity;

import java.io.Serializable;

public class StudentEntity implements Serializable {
	
	private static final long serialVersionUID = 3386042407179084844L;

	private Integer sid;
	
	private String name;
	
	private Integer age;
	
	/**
	 * 1表示高中 2表示大专 3表示本科
	 * 
	 * 前台往后台传数据的时候。比如传学历 为了避免乱码一般传1 2 3 这样的数字。后台要根据这些数字做判断。
	 */
	private String education;
	
	private String  flag;

	public Integer getSid() {
		return sid;
	}

	public void setSid(Integer sid) {
		this.sid = sid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	@Override
	public String toString() {
		return "StudentEntity [sid=" + sid + ", name=" + name + ", age=" + age + ", education=" + education + ", flag="
				+ flag + "]";
	}

	
	
	
	

}
